package com.geekcattle.mapper.goods;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @program: geek-framework
 * @description:
 * @author: LQ
 * @create: 2019-04-19 23:20
 */
@Repository
public interface GoodsMapper {

    List<Map> getGoodsType(Map map);

    /**
     * 获取商品
     * @param next
     * @return
     */
    List<Map> getGoods(Map next);

    /**
     * 只通过goods的条件获取
     * @param map
     * @return
     */
    List<Map> getGoods2(Map map);
}
